package com.sasis.webapp.form;

import java.util.Collection;

import com.sasis.model.BasePrincipal;

public class PermissionForm extends BaseForm {

	private static final long serialVersionUID = 1L;
	
	// in ------------
	
	private BasePrincipal principal = new BasePrincipal();
	
	public BasePrincipal getPrincipal() {
		return principal;
	}

	public void setPrincipal(BasePrincipal principal) {
		this.principal = principal;
	}
	
	// out ------------
	
	private Collection permissionsTree;
	
	private Collection handleTypes;
	
	private Collection roles;
	
	private Collection users;
	
	public Collection getPermissionsTree() {
		return permissionsTree;
	}

	public void setPermissionsTree(Collection permissionsTree) {
		this.permissionsTree = permissionsTree;
	}

	public Collection getHandleTypes() {
		return handleTypes;
	}

	public void setHandleTypes(Collection handleTypes) {
		this.handleTypes = handleTypes;
	}

	public Collection getRoles() {
		return roles;
	}

	public void setRoles(Collection roles) {
		this.roles = roles;
	}

	public Collection getUsers() {
		return users;
	}

	public void setUsers(Collection users) {
		this.users = users;
	}

}

